package com.gec.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gec.model.entity.SysEstateCount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.model.vo.AssginRoleVo;
import com.gec.model.vo.SysEstateCountQueryVo;
import com.gec.model.vo.SysEstateCountSignInVo;
import com.gec.model.vo.UpdatePasswordVo;
import com.gec.system.util.Result;

import java.util.Map;


/**
 * <p>
 * 系统账号表 服务类
 * </p>
 *
 * @author lys
 * @since 2023-12-06
 */
public interface SysEstateCountService extends IService<SysEstateCount> {

    IPage<SysEstateCount> selectPage(IPage<SysEstateCount> page1, SysEstateCountQueryVo vo);

    SysEstateCount getUserInfoUserName(String loginName, String telephone);


    SysEstateCount getCountInfoUserName(String loginName);

    Map<String, Object> getCountInfo(String username);

    boolean updateByTel(SysEstateCount count);



    Result compareAndUpdatePwd(UpdatePasswordVo vo);

//    boolean save(SysEstateCountSignInVo sysEstateCount);


//    boolean updateByTel(String telephone);
}
